<?php
include "../NotORM.php";
class BaseDao{
    function getDb(){
        $dsn = "mysql:host=localhost;dbname=php_t";
        $pdo = new PDO($dsn,"root","root");
        //$pdo->exec("SET CHARACTER SET utf8");
        return new NotORM($pdo);
    }
}
?>
